package com.lanlian.cayman.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.widget.TextView;

import com.lanlian.commonlib.base.BaseActivity;
import com.lanlian.cayman.R;

/**
 * <pre>
 *     author : huxiaobo
 *     e-mail : huxiaobo@xlanlian.com
 *     date   : 2018/8/23 18:07
 *     desc   : 设置止盈图解
 *     version: 1.0
 * </pre>
 */
public class ProfitLossImageActivity extends BaseActivity {

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_profit_loss_image, true);
        setTitle("止盈止损图解");
        ((TextView) findViewById(R.id.tv_tips1)).setText("做多时，止盈价 > 止盈回撤价 > 开仓价 > 止损回撤价 > 止损价");
        ((TextView) findViewById(R.id.tv_tips3)).setText("开仓价 < 止盈委托价 < 止盈价");
        ((TextView) findViewById(R.id.tv_tips4)).setText("止损委托价 < 止损价");
        ((TextView) findViewById(R.id.tv_tips5)).setText("开仓价 < 止盈回撤委托价 < 止盈回撤价");
        ((TextView) findViewById(R.id.tv_tips6)).setText("止损回撤委托价 < 止损回撤价");
        ((TextView) findViewById(R.id.tv_tips7)).setText("做空时，止盈价 < 止盈回撤价 < 开仓价 < 止损回撤价 < 止损价");
        ((TextView) findViewById(R.id.tv_tips8)).setText("开仓价 > 止盈委托价 > 止盈价");
        ((TextView) findViewById(R.id.tv_tips9)).setText("止损委托价 > 止损价");
        ((TextView) findViewById(R.id.tv_tips10)).setText("开仓价 > 止盈回撤委托价 > 止盈回撤价");
        ((TextView) findViewById(R.id.tv_tips11)).setText("止损回撤委托价 > 止损回撤价");
    }
}
